package com.example.pixelyear.bean;

import java.util.ArrayList;
import java.util.List;

public class YearBean {
    private int year;
    private int month;
    private List<DateBean> list;

    public YearBean(int year, int month, List<DateBean> list) {
        this.year = year;
        this.month = month;
        this.list = list;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getMonth() {
        return month;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public List<DateBean> getList() {
        if (list == null)
            list = new ArrayList<>();
        return list;
    }

    public void setList(List<DateBean> list) {
        this.list = list;
    }
}
